package com.letv.business.flow.PlayFlowModule;

import com.ledim.app.LeDimApplication;
import com.polidea.statemachine.log.Logger;

/**
 * Created by jipengfei on 2016/11/9.
 */
public class Application extends android.app.Application {

    private static Application instance;

    private ApplicationComponent component;

    @Override
    public void onCreate() {
        super.onCreate();

        instance = this;

        Logger.setEnabled(true);

        component = ApplicationComponent.Initializer.init(this);
    }

    public static ApplicationComponent getComponentInstance() {
        return instance.component;
    }
}

